
<%@ page import="com.portico.dept.solarch.TestCaseExecutionHistory" %>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <meta name="layout" content="main" />
        <g:set var="entityName" value="${message(code: 'testCaseExecutionHistory.label', default: 'TestCaseExecutionHistory')}" />
        <title><g:message code="default.list.label" args="[entityName]" /></title>
    </head>
    <body>
        <div class="body">
            <br>
            <g:if test="${flash.message}">
            <div class="message">${flash.message}</div>
            </g:if>
            <div class="list">
                <table>
                    <thead>
                        <tr>
                        
                            <g:sortableColumn property="id" title="${message(code: 'testCaseExecutionHistory.id.label', default: 'Id')}" />
                        
                            <g:sortableColumn property="tcReportDate" title="${message(code: 'testCaseExecutionHistory.tcReportDate.label', default: 'Tc Report Date')}" />
                        
                            <g:sortableColumn property="clientReported" title="${message(code: 'testCaseExecutionHistory.clientReported.label', default: 'Client Reported')}" />
                        
                            <g:sortableColumn property="comments" title="${message(code: 'testCaseExecutionHistory.comments.label', default: 'Comments')}" />
                        
                            <th><g:message code="testCaseExecutionHistory.project.label" default="Project" /></th>
                        
                            <g:sortableColumn property="tcCreated" title="${message(code: 'testCaseExecutionHistory.tcCreated.label', default: 'Test Cases Created')}" />

                            <g:sortableColumn property="tcExecuted" title="${message(code: 'testCaseExecutionHistory.tcExecuted.label', default: 'Test Cases Executed')}" />
                            <g:sortableColumn property="tcPassed" title="${message(code: 'testCaseExecutionHistory.tcPassed.label', default: 'Test Cases Passed')}" />

                        </tr>
                    </thead>
                    <tbody>
                    <g:each in="${testCaseExecutionHistoryInstanceList}" status="i" var="testCaseExecutionHistoryInstance">
                        <tr class="${(i % 2) == 0 ? 'odd' : 'even'}">
                            <td><g:link action="show" id="${testCaseExecutionHistoryInstance.id}">${fieldValue(bean: testCaseExecutionHistoryInstance, field: "id")}</g:link></td>
                            <td><g:formatDate date="${testCaseExecutionHistoryInstance.tcReportDate}" /></td>
                            <td><g:formatBoolean boolean="${testCaseExecutionHistoryInstance.clientReported}" /></td>
                            <td>${fieldValue(bean: testCaseExecutionHistoryInstance, field: "comments")}</td>
                            <td>${fieldValue(bean: testCaseExecutionHistoryInstance, field: "project")}</td>
                            <td>${fieldValue(bean: testCaseExecutionHistoryInstance, field: "tcCreated")}</td>
                            <td>${fieldValue(bean: testCaseExecutionHistoryInstance, field: "tcExecuted")}</td>
                            <td>${fieldValue(bean: testCaseExecutionHistoryInstance, field: "tcPassed")}</td>

                        </tr>
                    </g:each>
                    </tbody>
                </table>
            </div>
            <div class="paginateButtons">
                <g:paginate total="${testCaseExecutionHistoryInstanceTotal}" />
            </div>
        </div>
    </body>
</html>
